﻿using LJX.SmartPark.Common.ResponseOutput;
using LJX.SmartPark.Domain.SafeManage.PatrolPerson;
using LJX.SmartPark.Domain.SysManage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static LJX.SmartPark.Service.SafeManage.PatrolPersonServeice;

namespace LJX.SmartPark.Service.SafeManage
{
    public interface IPatrolPersonServeice: ITransientService
    {
        Task<Response<List<PatrolPerson>>> GetPatrolPersonAsync(Fy2 fy2);

        Response<PatrolPerson> GetPatrolPersonById(PatrolPerson input);

        int GetCount();
        Task<Response<bool>> PostAddPatrolPersonAsync(PatrolPerson input);
        Task<Response<bool>> DeletePatrolPersonAsync(PatrolPerson input);
        Task<Response<bool>> PutUpdPatrolPersonAsync(PatrolPerson input);
    }
}
